using UnityEngine;
using System.Collections;

/**
 * Script of Keys display (in game).
 * The purpose of this class is to display key binds.
 * @author Benjamin Bruneau
 */
public class DisplayKeysScript : MonoBehaviour {
	
	private const string REPLAY_DISPLAY_KEYS = "Esc : Menu   M : Music"; // Display in replay
	
	public GameObject _dataContainer; // Data container GameObject
	
	/**
	 * Called on initialization.
	 * @return void
	 */
	void Start () {
	
		// If reaply mode, change text
		if (_dataContainer.GetComponent<TimeScript>()._isReplayMode)
			{
				this.GetComponent<TextMesh>().text = REPLAY_DISPLAY_KEYS;
			}	
	}
}
